<template>
  <div class="goods">
    <goods-listitem v-for="item in goodsitem" :key="item.id" :listitem="item"></goods-listitem>
  </div>
</template>

<script>
import GoodsListitem from './GoodsListitem.vue'
export default {
 props:{
   goodsitem:{
     type:Array
   }
 },
 components:{
   GoodsListitem
 }
}
</script>

<style scoped>
.goods {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
</style>